//package com.flash.SystemManagement.controller;
//
//import com.flash.SystemManagement.entity.User;
//import com.flash.SystemManagement.entity.UserRole;
////import com.flash.SystemManagement.service.UserRoleService;
////import com.flash.SystemManagement.service.UserRoleService;
////import org.springframework.beans.factory.annotation.Autowired;
////import org.springframework.stereotype.Controller;
////import org.springframework.stereotype.Repository;
////import org.springframework.web.bind.annotation.RequestMapping;
////import org.springframework.web.bind.annotation.ResponseBody;
//
//import javax.annotation.Resource;
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//
//@Controller
//public class UserRoleController {
//    @Autowired
//    private UserRoleService userRoleService;
//
//    public String toUserRole(){
//        return "UserRole";
//    }
//    @RequestMapping("selectUserRole")
//    @ResponseBody
//    public Map selectUserRole(){
//        Map hashMap = new HashMap();
//        List<UserRole> userRoles = userRoleService.selectUserRole();
//        hashMap.put("msg","");
//        hashMap.put("code","0");
//        hashMap.put("count",0);
//        hashMap.put("data",userRoles);
//        return hashMap;
//    }
//}
